package com.itheima.exerciseTest.test10_19;

public class Test10 {
    public static void main(String[] args) {
        new Play(){
            @Override
            public void playGame(){
                System.out.println("玩游戏");
            }
        }.playGame();
    }
}

interface Play {
    void playGame();
}
